<template>
    <div class="page-content mine">
        <div class="my-header">
            <p class="login-show">未登录</p>
            <div class="my-img" @click="goLogin()"><i class="ion-ios-person-outline"></i></div>
            <p class="login-tishi">点击头像登录~</p>
        </div>
        <ul class="myNavs">
            <li class="nav-item"><p class="ion-clipboard"></p><span>全部订单</span></li>
            <li class="nav-item"><p class="ion-android-open"></p><span>待付款</span></li>
            <li class="nav-item"><p class="ion-paper-airplane"></p><span>未出行</span></li>
            <li class="nav-item"><p class="ion-happy-outline"></p><span>待评价</span></li>
        </ul>
        <div class="my-content">
            <h2><i class="my-icon1 ion-ios-people-outline"></i>常用旅客<i class="my-icon2 ion-chevron-right"></i></h2>
            <h2><i class="my-icon1 ion-ios-heart-outline"></i>我的收藏<i class="my-icon2 ion-chevron-right"></i></h2>
            <h2><i class="my-icon1 ion-ios-pricetag-outline"></i>优惠券<i class="my-icon2 ion-chevron-right"></i></h2>
            <h2 @click="feedback()"><i class="my-icon1 ion-ios-compose-outline"></i>意见反馈<i class="my-icon2 ion-chevron-right"></i></h2>
            <h2><i class="my-icon1 ion-ios-chatboxes-outline"></i>在线客服<i class="my-icon2 ion-chevron-right"></i></h2>
            <h2><i class="my-icon1 ion-ios-gear-outline"></i>设置<i class="my-icon2 ion-chevron-right"></i></h2>

        </div>
    </div>
</template>
<script>
    export default{
        methods:{
            goLogin(){
                this.$router.push('/login')
            },
            feedback(){
                this.$router.push('/feedback')
            }
        }
    }
</script>
<style>
    .page-content.mine{
        margin-bottom:44px;
    }
    .mine.page-content{
        background: #f3f3f7;
    }
    .my-header{
        padding: 6%;
        background-color: #0090F2;
        text-align: center;
        width:100%;
        height:30%;
        background-size: 100% 100%;
        background-image: url('../../assets/image/background.png');
    }
    .my-header p.login-show{
        color: #fff;
        font-size: 24px;
        padding-bottom: 10px;
        margin-bottom:10px;
    }
    .my-img{
        background-color: #fff;
        border-radius: 50%;
        height: 80px;
        width: 80px;
        margin: 0 auto;
        line-height: 80px;
    }
    .my-img .ion-ios-person-outline{
        color: #0090f2;
        font-size: 60px;
    }
    .login-tishi{
        color: #fff;
        padding-top: 5px;
        font-size: 14px;
    }
    ul.myNavs{
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        background-color: #FFF;
        margin-bottom: 10px;
        border-bottom: 1px solid #f3f3f7;
    }
    li.nav-item{
        flex-basis: 25%;
        padding-top: 20px;
        text-align: center;
        position: relative;
        color: #3f3f3f;
    }
    li.nav-item p{
        font-size:25px;
        margin-bottom: 0;
        color: #999;
    }
    li.nav-item span{
        font-size:14px;
        margin-bottom:10px;
        display: inline-block;
    }
    .my-content{
        background-color: #fff;
        margin-bottom: 10px;
        padding: 0;
        margin-top: 25px;
    }
    .my-content h2{
        border-bottom: 1px solid #F3F3F7;
        font-size: 16px;
        margin: 0px 10px;
        padding:10px;
        color: #363636;
    }
    .my-icon1{
        color: #0090f2;
        margin-right: 10px;
        font-size: 30px;
        vertical-align: middle;
    }
    .my-icon2{
        float: right;
        margin-top: 4px;
        font-size: 22px;
        color: #999;
        font-size:16px;
    }
</style>